<?php
require_once('../../auth/auth.php');


	$id = $_REQUEST['user_id'] ;
    $family_id = $_GET['family_id'];
   
    $first_name=$_POST['first_name'];    
 	$last_name=$_POST['last_name']; 
 	$gender = $_POST['gender'];   
	$age=$_POST['age'];    
	$date_of_birth=$_POST['date_of_birth']; 
	$relationship=$_POST['relationship'];
		

include 'db_Connect.php';

$member = "UPDATE FamilyMembers 
		   SET family_id='".$family_id."', 
		       first_name='".$first_name."',
			   last_name='".$last_name."',
			   gender='".$gender."',
			   age='".$age."',
			   date_of_birth='".$date_of_birth."',
			   relationship='".$relationship."',
			  "
// NOT COMPLETE HERE!!!
$result = mysql_query($account);

if($result){
	echo("<br> Account successfully updated");

} else{
	echo("<br> Account update failed");
}

include 'db_Close.php';

?>